<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>条件渲染</title>
    </head>
    <body>
        <div id="app">
            <div v-if="Math.random() > 0.5">
                Now you see me 
            </div>
            <div v-else>
                Now you don't
            </div>
        </div>

        <script type="module">
            import Vue from '../vue.esm.browser.js'
        
            const app = new Vue({
                el: '#app',
                data: {
                    
                }
            })
        </script>
    </body>
</html>